using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace tutFuelCellGame
{
    public class LightSource
    {
        public Color Color { get; set; }
        public Vector3 Direction { get; set; }
        public float Intensity { get; set; }
        
        public void ApplyLight(BasicDirectionalLight light)
        {
            Vector3 c = Color.ToVector3()*Intensity;
            light.Direction = Direction;
            light.DiffuseColor = c;
            light.SpecularColor = c;
        }

    }
}